package thinking.in.spring.boot.example.enable;

import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * @author : wenchao.long
 * @date : Created in 2025-06-06 下午 8:24 周五
 * @description :
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import(ServerImportSelect.class)
public @interface EnableServer {

	/**
	 * 设置服务器类型
	 *
	 * @return non-null
	 */
	Server.Type type();
}
